package cn.iocoder.yudao.module.api.trade.scan.message;

import cn.iocoder.yudao.module.api.trade.scan.dto.ScanOrderDTO;
import jakarta.annotation.Nonnull;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/05/06
 */
@Data
@AllArgsConstructor
public class ScanOrderPaidMessage {
    private ScanOrderDTO order;

    @Nonnull
    public ScanOrderDTO getOrder() {
        if (order == null) {
            order = new ScanOrderDTO();
        }
        return order;
    }

}
